package com.tt.dp.command;

import com.tt.dp.command.model.TV;

public class TVOnCommand implements Command{

    private TV tv;

    public TVOnCommand(TV tv) {
        this.tv = tv;
    }


    public void execute() {
        this.tv.open();
    }

    public void undo() {
        this.tv.close();
    }
}
